import request from '@/utils/request'


export function getContentList(params) {
    return request({
        url: '/content/announcements/page',
        method: 'get',
        params
    })
}
// 编辑客户
export function editContent(data) {
    return request({
        url: '/content/announcements/update',
        method: 'post',
        data
    })
}
// 新增客户
export function addContent(data) {
    return request({
        url: '/content/announcements/insert',
        method: 'post',
        data
    })
}
// 删除客户
export function deleteContent(id) {
    return request({
        url: '/content/announcements/deleteById',
        method: 'post',
        headers: {
            'Content-Type': 'application/json'
        },
        data: id
    })
}
// 批量物业管理费数据
export function deleteBatch(data) {
    return request({
        url: '/content/announcements/deleteBatch',
        method: 'post',
        data
    })
}
